package day7.Exer;

public class Pettest {
    public static void main(String[] args) {
        Dog a=new Dog("小白",10,"中华田园犬");
        a.introduct();
        a.eat();
        a.sleep();
        a.catchMouse();
        System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<");
        Pengiun b=new Pengiun("瑞克",10.0,"帝企鹅");
        b.introduct();
        b.sleep();
        b.eat();
        b.swim();
        System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<");
        Parrot c=new Parrot("波利",2.5,"金刚鹦鹉");
        c.introduct();
        c.sleep();
        c.eat();
        c.fly();
    }
}
